package simplifiedPastry;

import java.io.IOException;

public interface MessageListener {
	void messageAccepted(Message message);
	void messageRecv(Message message, NodeId senderId);
	void messageTimeout(Message message);
	void nodeNotFound(NodeId recvId);
	void kSearchRecv(NodeId[] nodeArray);
	void kSearchTimeout(NodeId serachId);
	void ioError(IOException exception);
}
